/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package be.ugent.medirem.persistence.facade;

import be.ugent.medirem.persistence.entity.details.LocationDetails;
import be.ugent.medirem.persistence.entity.values.LocationValues;
import be.ugent.medirem.persistence.exception.DaoException;
import be.ugent.medirem.persistence.exception.EntityNotFoundException;
import javax.ejb.Local;

/**
 *
 * @author Simon
 */
@Local
public interface LocationDaoLocal {

    Long create(LocationValues location) throws DaoException;

    LocationDetails read(Long id) throws EntityNotFoundException, DaoException;

    Long update(Long id, LocationValues location) throws EntityNotFoundException, DaoException;
    
}
